﻿using HAL9006.Terminal;
using Microsoft.AspNet.SignalR.Hubs;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HAL9006.Blog.Hubs
{
    public class Terminal : Hub
    {
        public void Execute(string command) {
             var scriptToReturn = new CommandMap().Execute(command);
             Clients.Caller.commandAction(scriptToReturn);
        }
    }
}